import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @作者: xiaoxun
 * @日期: 2025/3/12 18:18
 * @描述: 日志技术
 */
public class Log {
//	public static final Logger LOGGER= (Logger) LoggerFactory.getLogger("Log.class");
public static final Logger LOGGER=LoggerFactory.getLogger("Log.class");
	public static void main(String[] args) {
		try {
			LOGGER.info("除法开始执行");
			chu(3,0);
			LOGGER.info("除法执行成功");
		}catch (Exception e){
			LOGGER.error("除法执行失败！"+e.getMessage());
		}
	}
	public static int chu(int a,int b){
		int c=a/b;
		return c;
	}
}